import React from 'react'

export default class Child extends React.Component {
    constructor(props) {
        super(props)
        
    }

    render() {
        return (
            <div>
                <p>这是子组件</p>
                <p>{this.props.name}</p>
            
            </div>

        )
    }


}
